#ifndef DATA_STRUCT_BTTN_H
#define	DATA_STRUCT_BTTN_H


///Maximum number of characters displayed in a button.
/**
 * @param BUTTON_LENGHT stores the maximum number of char that could be written 
 * in the text field of a button.
 */
const unsigned short int BUTTON_LENGHT = 11;
 
/// This variable is a struct that stores all the information that compose a button.
/**
 * @struct bttnbox is a struct element that contains the position and the dimensions
 * of the button box in the variables 
 * @param center_x, starting x coordinate for drawing the rectangle
 * @param center_y, starting x coordinate for drawing the rectangle
 * @param width represents the width of the button
 * @param height represents the height of the button
 * @param txtfield is text inside the button in the variable
 */
struct bttnbox {
    //upper-left angle coordinates
    float center_x;
    float center_y;
    //lower-right angle coordinates
    const short int bttn_width = 150;
    const short int bttn_height = 50;  
    
    char text [BUTTON_LENGHT];
    char const *p_text= text;   
};

#endif	/* DATA_STRUCT_BTTN_H */

